import React from 'react';

import 'index.less';

export default ({ themeColor }) => (
  <div className="subway-legend">
    <div className="subway-legend-item">
      <span />
      <span>普通列车</span>
    </div>
    <div className="subway-legend-item">
      <span style={{ backgroundColor: themeColor }} />
      <span>主题列车</span>
    </div>
  </div>
);
